export default {
  plate_number: [
    { required: true, message: "车牌号不能为空", trigger: "blur" }
  ],
  plateNumber: [
    {
      required: true,
      message: "车牌号不能为空",
      trigger: "blur"
    }
  ],
  length: [
    { required: true, message: "货箱长不能为空", trigger: "blur" },
    {
      pattern: /^(\d+\.?)?\d{0,2}$/,
      message: "请输入整数和小数",
      trigger: "blur"
    }
  ],
  width: [
    { required: true, message: "货箱宽不能为空", trigger: "blur" },
    {
      pattern: /^(\d+\.?)?\d{0,2}$/,
      message: "请输入整数和小数",
      trigger: "blur"
    }
  ],
  height: [
    { required: true, message: "货箱高不能为空", trigger: "blur" },
    {
      pattern: /^(\d+\.?)?\d{0,2}$/,
      message: "请输入整数和小数",
      trigger: "blur"
    }
  ],
  load: [
    { required: true, message: "载重不能为空", trigger: "blur" },
    {
      pattern: /^(\d+\.?)?\d{0,2}$/,
      message: "请输入整数和小数",
      trigger: "blur"
    }
  ],
  openCarId: [{ required: true, message: "盒子编号不能为空", trigger: "blur" }]
};
